package com.tyut.planeGame.service;

import com.tyut.planeGame.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tyut.planeGame.entity.dto.TopUser;
import com.tyut.planeGame.entity.form.LoginForm;
import com.tyut.planeGame.entity.form.RegisterForm;
import com.tyut.planeGame.entity.form.UpdateForm;

import java.util.List;

/**
* @author 84219
* @description 针对表【user】的数据库操作Service
* @createDate 2024-06-19 23:36:31
*/
public interface UserService extends IService<User> {

    void register(RegisterForm registerForm);

    String login(LoginForm loginForm);

    String GetQuestion(String username);
    void UpdatePassword(UpdateForm updateForm);

    int SaveScore(int score);

     int GetScore();

    List<TopUser> getTopUserList();


}
